package logik;

import java.io.Serializable;

public class Tester implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private String vorname;
	private String nachname;
	private String adresse;
	private int hausnummer;

	public Tester(int idt, String text, String text2, String text3,
			int hn) 
	{
		setid(idt);
		setvorname(text);
		setnachname(text2);
		setadresse(text3);
		sethausnumer(hn);
	}

	private void setadresse(String text3) 
	{
		this.adresse=text3;
		
	}

	private void sethausnumer(int hn) 
	{
		this.hausnummer = hn;
		
	}

	private void setnachname(String text2) 
	{
		this.nachname= text2;
		
	}

	private void setvorname(String text) 
	{
		
		this.vorname=text;
	}

	private void setid(int idt) 
	{
		
		this.id = idt;
	}
	
	
	public String toString()
	{
		String b="";
		b= (id + "/" + vorname + "/" + nachname + "/" + adresse + "/" +hausnummer+"/");
		return b;
	}


	

}
